package com.ruoyi.roomType.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预订主表对象 wdm_reserve_main
 * 
 * @author ruoyi
 * @date 2025-05-09
 */
public class ReserveMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预订ID */
    private Long reserveId;

    /** 顾客ID */
    @Excel(name = "顾客ID")
    private Long customerId;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private Long deliveryAddressId;

    /** 预付金额 */
    @Excel(name = "预付金额")
    private BigDecimal totalAmount;

    /** 预订状态 */
    @Excel(name = "预订状态")
    private String reserveStatus;

    /** 预订类型 */
    @Excel(name = "预订类型")
    private String reserveType;

    /** 状态 */
    private String status;

    /** 删除标志 */
    private String delFlag;

    /** 版本号 */
    @Excel(name = "版本号")
    private Long version;

    public void setReserveId(Long reserveId) 
    {
        this.reserveId = reserveId;
    }

    public Long getReserveId() 
    {
        return reserveId;
    }

    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }

    public void setDeliveryAddressId(Long deliveryAddressId) 
    {
        this.deliveryAddressId = deliveryAddressId;
    }

    public Long getDeliveryAddressId() 
    {
        return deliveryAddressId;
    }

    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }

    public void setReserveStatus(String reserveStatus) 
    {
        this.reserveStatus = reserveStatus;
    }

    public String getReserveStatus() 
    {
        return reserveStatus;
    }

    public void setReserveType(String reserveType) 
    {
        this.reserveType = reserveType;
    }

    public String getReserveType() 
    {
        return reserveType;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reserveId", getReserveId())
            .append("customerId", getCustomerId())
            .append("deliveryAddressId", getDeliveryAddressId())
            .append("totalAmount", getTotalAmount())
            .append("reserveStatus", getReserveStatus())
            .append("reserveType", getReserveType())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("version", getVersion())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
